package com.mfangsoft.zhuangjialong.integration.statisticsactivity.mapper;

import com.mfangsoft.zhuangjialong.common.utils.stereotype.WriterRepository;
import com.mfangsoft.zhuangjialong.integration.statisticsactivity.model.BaseStatisticsActivity;
@WriterRepository
public interface BaseStatisticsActivityMapper {
    /**
     * 通过主键删除  
     *
     * @MLTH_generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 插入数据  
     *
     * @MLTH_generated
     */
    int insert(BaseStatisticsActivity record);

    int insertSelective(BaseStatisticsActivity record);

    /**
     * 通过主键查询数据 
     *
     * @MLTH_generated
     */
    BaseStatisticsActivity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BaseStatisticsActivity record);

    /**
     * 通过主键更新数据  
     *
     * @MLTH_generated
     */
    int updateByPrimaryKey(BaseStatisticsActivity record);

	void addStatistics(BaseStatisticsActivity statistics);

	void updateStatistics(BaseStatisticsActivity statistics);

	BaseStatisticsActivity selectStatistics(BaseStatisticsActivity sel);
}